package com.smatiger.hotdeploy.loader;

import com.smatiger.hotdeploy.loader.application.ApplicationManager;

/**
* @Description: 程序入口
* @author smatiger
* @date 2017年7月3日 下午4:49:39 
*/
public class MainStart {
    public static void main(String[] args) {
        Thread thread = new Thread(new Runnable() {

            @Override
            public void run() {
                ApplicationManager manager = ApplicationManager.getInstance();
                manager.init();
            }
        });
        thread.start();

        try {
            Thread.sleep(3 * 60 * 1000L);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("system exit!");
    }
}
